package com.itheima.day04;

public class demo08 {
    public static void main(String[] args) {
        int[] arr = {68, 27, 95, 88, 171, 996, 51, 210};
        int ge = 0;
        int shi = 0;
        int sum = 0;
        for (int i = 0; i < arr.length; i++) {
            ge = arr[i] / 1 % 10;
            shi = arr[i] / 10 % 10;
            if (ge != 7 && shi != 7 && arr[i] % 2 == 0) {
                sum += arr[i];
            }
        }
        System.out.println(sum);
    }
}
